/*
*
* DeptMapper.java
* Copyright(C) 2017-2020 fendo公司
* @date 2020-04-28
*/
package com.example.demo.mapper;

import com.example.demo.dbo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {
    /**
     *
     * @mbg.generated 2020-04-28
     */
    int deleteByPrimaryKey(String deptNo);

    /**
     *
     * @mbg.generated 2020-04-28
     */
    int insert(Dept record);

    /**
     *
     * @mbg.generated 2020-04-28
     */
    Dept selectByPrimaryKey(String deptNo);

    /**
     *
     * @mbg.generated 2020-04-28
     */
    List<Dept> selectAll();

    /**
     *
     * @mbg.generated 2020-04-28
     */
    int updateByPrimaryKey(Dept record);
}